package com.lyluly.coursemgmt.servicemodule.model;

import java.util.Date;

public class Student {
    private String sId;

    private String openid;

    private String sName;

    private String sPasswd;

    private String clazz;

    private String tId;

    private Date createtime;

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId == null ? null : sId.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName == null ? null : sName.trim();
    }

    public String getsPasswd() {
        return sPasswd;
    }

    public void setsPasswd(String sPasswd) {
        this.sPasswd = sPasswd == null ? null : sPasswd.trim();
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz == null ? null : clazz.trim();
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sId=").append(sId);
        sb.append(", openid=").append(openid);
        sb.append(", sName=").append(sName);
        sb.append(", sPasswd=").append(sPasswd);
        sb.append(", clazz=").append(clazz);
        sb.append(", tId=").append(tId);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}